package com.example.film.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("top250电影")
public class Top250Film {

    @ApiModelProperty("排名")
    private Integer rank;

    @ApiModelProperty("电影名称")
    private String name;

    @ApiModelProperty("导演")
    private String director;

    @ApiModelProperty("详情链接")
    private String link;

    @ApiModelProperty("电影海报")
    private String picture;

    @ApiModelProperty("年份")
    private Integer filmYear;

    @ApiModelProperty("国家")
    private String country;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("评分")
    private Float score;

    @ApiModelProperty("简介")
    private String brief;

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Integer getFilmYear() {
        return filmYear;
    }

    public void setFilmYear(Integer filmYear) {
        this.filmYear = filmYear;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    @Override
    public String toString() {
        return "Top250Film{" +
                "rank=" + rank +
                ", name='" + name + '\'' +
                ", director='" + director + '\'' +
                ", link='" + link + '\'' +
                ", picture='" + picture + '\'' +
                ", filmYear=" + filmYear +
                ", country='" + country + '\'' +
                ", type='" + type + '\'' +
                ", score=" + score +
                ", brief='" + brief + '\'' +
                '}';
    }
}
